package GUI;

import java.util.ArrayList;

@SuppressWarnings("serial")
public class PokerTable extends ArrayList<Player>{

	private String name;
	private PokerBoard board;
	public PokerTable(PokerBoard board){
		super();
		Player owner = board.getOwner();
		this.add(owner);
		this.board = board;
		this.name = owner.getName() + "\'s table";
	}
	@Override
	public String toString(){
		return name;
	}
	public PokerBoard getBoard(){
		return board;
	}
}
